/*
    Created by IntelliJ IDEA.
    @Auther: gaozhe
    @Date: 2020/5/15 上午 9:28
    
*/
package pojo;

public class User {
    private int userId;         //id
    private String userName;    //用户名
    private String passWord;    //密码
    private String userTel;     //手机号
    private String userPhoto;   //头像
    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", passWord='" + passWord + '\'' +
                ", userTel='" + userTel + '\'' +
                ", userPhoto='" + userPhoto + '\'' +
                '}';
    }

    public User(int userId, String userName, String passWord, String userTel, String userPhoto) {
        this.userId = userId;
        this.userName = userName;
        this.passWord = passWord;
        this.userTel = userTel;
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }
}
